package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.models.auth.In;

import java.util.List;

public interface SensitiveControllerApi {
    /***
     * 敏感词的分页按照关键字模糊查询
     */
    public ResponseResult findByNameAndPage(SensitiveDto dto);

    public ResponseResult save(AdSensitive adSensitive);

    public ResponseResult updateSensitive(AdSensitive adSensitive);

    public ResponseResult deleteById(Integer id);

}
